<?php


namespace App\Http\Controllers\applets\model;


use Illuminate\Support\Facades\DB;

class BindSnModel
{
    public static function add($param){
        return DB::table('t_bind_sn')->insert($param);
    }

    public static function queryFirst($where,$field){
        return DB::table('t_bind_sn')->where($where)->first($field);
    }

    public static function delete($where){
        return DB::table('t_bind_sn')->where($where)->delete();
    }
}